package org.dftproject.familysearch.core;

import static java.lang.String.format;

public final class Constants {

	public static final String SERVER = "www.dev.usys.org";
	public static final int PORT = 80;
	public static final String VERSION = "v1";
	public static final String ROOT_SITE = format("http://%s:%d", SERVER, PORT);
	public static final String LOGIN_LOC = format("/identity/%s/login", VERSION);
	public static final String SEARCH_LOC = format("/familytree/%s/login/search", VERSION);
	public static final String LOGIN_SITE = ROOT_SITE + LOGIN_LOC;
	public static final String SEARCH_SITE = ROOT_SITE + SEARCH_LOC;

}
